<admintpl file="header"/>
<body class="J_scroll_fixed">
<div class="wrap J_check_wrap">
  <ul class="nav nav-tabs">
     <li class="active"><a href="{:sp_plugin_url('Khgl://AdminIndex/index')}">预约平台</a></li>
     <form action="{:sp_plugin_url('Khgl://AdminIndex/expUser')}"  method="post" >
 		时间： 

	
	<input type="text" name="start_time" class="js-date" value="" style="width: 80px;" autocomplete="off">-
	<input type="text" class="js-date" name="end_time" value="" style="width: 80px;" autocomplete="off"> &nbsp; &nbsp;
	<input type="submit" class="btn btn-primary" value="导出客户数据" />
	</form>
  </ul>
  <div class="common-form">

<style>
	.table td {font-size: 14px;line-height: 20px;}
	.page a{float: left;padding: 4px 12px;line-height: 20px;text-decoration: none;background-color: #fff;border: 1px solid #ddd;border-left-width: 0;}
	.page span{float: left;padding: 4px 12px;line-height: 20px;text-decoration: none;background-color: #fff;border: 1px solid #ddd;}
	.page .prev{float: left;padding: 4px 12px;line-height: 20px;text-decoration: none;background-color: #fff;border: 1px solid #ddd;}
</style>
    <form method="post"  action="{:sp_plugin_url('Khgl://AdminIndex/update_sort')}">
      <div class="table_list">
	 
			<table width="100%" class="table table-hover">
				<thead>
				  <tr>
					<th width="40">	ID</th>
					<th width="200">用户名</th>
					<th width="110">手机</th>
					<th style="text-align: center;">邮寄地址</th>
					<th width="200">预约时间</th>
					<th width="100">状态</th>
					
					<th width="120">操作</th>
				  </tr>
				</thead>
				<tbody>
					<foreach name="yy_user" item="vo">
						<tr>
				
							<td>{$vo.id}</td>
							<td>{$vo.username}</td>
							<td>{$vo.userphone}</td>
							<td style="text-align: center;">{$vo.address}</td>
							<td>{:date('Y-m-d H-m-s',$vo['yy_time'])}</td>
							<td><eq name="vo.status" value="1">开启<else/>关闭</eq></td>
							
							<td>
								<a>修改</a>|
									<a href="{:sp_plugin_url('Khgl://AdminIndex/edit_status',array('id'=>$vo['id']))}" ><eq name="vo.status" value="0">开启<else/>关闭</eq></a>
							</td>
						</tr>
					</foreach>
					

				</tbody>
			</table>
		<div class="page">{:$page}</div>
  		</div>
    </form>
  </div>
</div>
	<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>